<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/reset.css">

    <style>

        .nav {
            width: 1210px;
            height: 48px;
            background-color: #E8E7E3;
            margin: 50px auto;
        }

        .nav ul li {
            float: left;
        }

        a {
            display: block;
            color: #777777;
            line-height: 48px;
            padding: 0px 45px;
            font-size: 16px;
        }

        .nav ul li:last-child a{
            padding-right: 55px;
        }
        
        a:hover{
            background-color: #3F3F3F;
            color: #E8E7E3;
        }
        
    </style>

</head>

<body>

    <nav class="nav">
        <ul>
            <li>
                <a href="javascript:;">HTML 系列教程</a>
            </li>
            <li>
                <a href="javascript:;">浏览器脚本</a>
            </li>
            <li>
                <a href="javascript:;">服务器脚本</a>
            </li>
            <li>
                <a href="javascript:;">编程教程</a>
            </li>
            <li>
                <a href="javascript:;">XML 系列教程</a>
            </li>
            <li>
                <a href="javascript:;">建站手册</a>
            </li>
            <li>
                <a href="javascript:;">参考手册</a>
            </li>
        </ul>
    </nav>

</body>

</html>